package com.weather.service;

import org.springframework.cloud.netflix.feign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

import com.weather.vo.WeatherResponse;

/**
 * @Description 伪天气数据客户端
 *
 * @author 堆堆堆
 * @date 2018年6月7日 下午5:27:16
 */
@FeignClient("weather-data-eureka")
public interface WeatherDataClient {

	@GetMapping("/weather/cityId/{cityId}")
	WeatherResponse getDataByCityId(@PathVariable("cityId") String cityId);
}
